<template>
  <div id="app">
    <router-view />
  </div>
</template>

<script>
export default {
  name: 'App',
   created() {
        window.addEventListener(
            'resize',
            () => {
                this.$store.dispatch('app/resizeHeight', window.innerHeight);
                this.$store.dispatch('app/resizeWidth', window.innerWidth);
            },
            false
        );
    }
}
</script>
